package net.sashag.nadlandroid;

import android.graphics.Bitmap;
import android.widget.ImageView;

import com.google.android.apps.analytics.easytracking.TrackedActivity;
import com.googlecode.androidannotations.annotations.AfterViews;
import com.googlecode.androidannotations.annotations.EActivity;
import com.googlecode.androidannotations.annotations.Extra;
import com.googlecode.androidannotations.annotations.Fullscreen;
import com.googlecode.androidannotations.annotations.NoTitle;
import com.googlecode.androidannotations.annotations.ViewById;

@EActivity(R.layout.imagedisplay)
@NoTitle
@Fullscreen
public class ImageDisplayActivity extends TrackedActivity {

	@Extra("Image") protected Bitmap image;
	@ViewById protected ImageView imgApartmentPicture;
	
	@AfterViews
	protected void showImage() {
		imgApartmentPicture.setImageBitmap(image);
	}
	
}
